/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package job.manager.security.app;

import java.util.Set;
import job.manager.security.interfaces.AppUserInt;

/**
 *
 * @author Administrator
 */
public class AppUser implements AppUserInt{

    private String username;
    private String password;
    private String email;
    private Set<String> roles;

    public AppUser(String username,String password, String email, Set<String> roles){
        this.username = username;
        this.password = password;
        this.email = email;
        this.roles = roles;
    }


    public String getLogin() {
        return this.username;
    }

    public String getPassword() {
        return this.password;
    }

    public String getEmail() {
        return this.email;
    }

    public Set<String> getRoles() {
        return roles;
    }

}
